package com.carboncntr.struts.form;

import org.apache.struts.validator.ValidatorActionForm;

public class RegistrationForm extends ValidatorActionForm {
	private Long customerId;
	private String last;
	private String first;
	private String email;
	private String userName;
	private String password;
	private String confirmPassword;
	private double carbonBalance;
	
	public double getCarbonBalance() {
		return carbonBalance;
	}
	public void setCarbonBalance(double carbonBalance) {
		this.carbonBalance = carbonBalance;
	}
	public String getConfirmPassword() {
		return confirmPassword;
	}
	public void setConfirmPassword(String confirmPassword) {
		this.confirmPassword = confirmPassword;
	}
	private String zip;
	public Long getCustomerId() {
		return customerId;
	}
	public void setCustomerId(Long customerId) {
		this.customerId = customerId;
	}
	public String getLast() {
		return last;
	}
	public void setLast(String last) {
		this.last = last;
	}
	public String getFirst() {
		return first;
	}
	public void setFirst(String first) {
		this.first = first;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public String getUserName() {
		return userName;
	}
	public void setUserName(String userName) {
		this.userName = userName;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getZip() {
		return zip;
	}
	public void setZip(String zip) {
		this.zip = zip;
	}
	@Override
	public String toString() {
		return "RegistrationForm [customerId=" + customerId + ", last=" + last
				+ ", first=" + first + ", email=" + email + ", userName="
				+ userName + ", password=" + password + ", confirmPassword="
				+ confirmPassword + ", carbonBalance=" + carbonBalance
				+ ", zip=" + zip + "]";
	}
	
}
